import { setModel } from '../../utils/store/stateUtils';
import { State } from 'jumpstate';


const initial: any = {
	search: {},
	currentState: {},
	feedBackState: {},
	coursewareList: [],
	titleList: [],

	activePage: 0,
	totalPage: 0,
	pptIndex: 0,

	hasLocal: false,
	progress: 0,
};

export default State('login', {
	initial,
	setModel,
	reset() {
		return { ...initial };
	},
});
